﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TJADRICD.CollaborativeDesignPlugin.Form
{
    public partial class VersionForm : System.Windows.Forms.Form
    {
        public string DescriptionChinese = "";
        public string DescriptionEnglish = "";

        public VersionForm()
        {
            InitializeComponent();
        }

        private void btn_Cancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void btn_OK_Click(object sender, EventArgs e)
        {
            if (tb_chinese.Text == "")
            {
                MessageBox.Show("必要信息不完整!");
                return;
            }
            DescriptionChinese = tb_chinese.Text;
            DescriptionEnglish = tb_english.Text;
            this.Close();
        }
    }
}
